package net.cz.wc.command;

public class CommandFactory {
	public static Command createCommand(String command) throws Exception {
		return 
			(Command)Class.forName(
					CommandTypeEnum.getCommand(command).getCommandImp()
				).newInstance();
	}
}
